<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width" />

    <%= stylesheet_link_tag "foundation_emails" %>
  </head>

  <body style="background-color: #f3f3f3;">
    <table class="body" data-made-with-foundation>
      <tr>
        <td class="center" align="center" valign="top">
          <br/><br/>
          <center>
            <% # NOTE: suppress this for dev/test becuase it breaks mailcatcher %>
            <%= email_image_tag('logo.png', width: 40, height: 40, style: 'width: 40px;') if Rails.env.production? %>
          </center>
          <br/>
        </td>
      </tr>
      <tr>
        <td class="center" align="center" valign="top">
          <%= yield %>
        </td>
      </tr>
      <tr>
        <td class="center" align="center" valign="top">
          <center>
            <small>
              <br/><br/>
              <strong>Powered by Helpy</strong><br/>
              Get a Free Helpy Support System for your Site at https://helpy.io/
            </small>
          </center>
        </td>
      </tr>
    </table>
  </body>
</html>
